/**
 * 2017年10月21日
 */
package exp.algorithm.sic;

import java.util.List;

import exp.algorithm.sic.feature.FeatureVector;

/**
 * 一个Instance对应一个InstanceFeatureVectors
 * 里面存放的向量是按照从低向上,从左到右的向量排序顺序
 * @author Alex
 *
 */
public class InstanceFeatureVectors {
	//vecs里面的都是等长的
	public List<FeatureVector> vecs;
	int beginIdx[];
	//里面每个FeatureVector的长度
	public int vectorLength = -1;
	public double classValue = -1;
	public InstanceFeatureVectors(List<FeatureVector> v) {
		vecs = v;
		if(v.size()!=0)
			vectorLength = v.get(0).length();
	}
	public int getOctaveNum(){
		return vecs.size();
	}
	//第一个参数是octave的序列,第二个是不同的模糊的子图的
	public int getOctaivePeakNum(){
		return 0;
	}
	public int getTotalPeaksNum(){
		return vecs.size();
	}
	public String toString(){
		return String.format("Instance vector number:%d ,classValue:%f",vecs.size(),classValue);
	}
	
	
}
